						<div class="page-header">
							<h1>
								Sala de Prensa
								<small>
									<i class="icon-double-angle-right">&#32;</i>
									<?php echo isset($row) ? 'Editar' : 'Agregar'; ?>
								</small>
							</h1>
						</div>
						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->
								<?php if(isset($upload)) {
									echo $upload->display_errors('<h6 class="text-danger"><i class="icon-exclamation-sign"></i> ', '</h6>');
								} ?>
								
								<?php echo validation_errors('<h6 class="text-danger"><i class="icon-exclamation-sign"></i> ', '</h6>'); ?>
								
								<?php echo form_open_multipart(NULL, array('class'=>'form-horizontal', 'role'=>'form')); ?>
								
									<!-- titulo -->
									<div class="form-group">
										<div class="col-sm-12">
											<label class="control-label blue">Título (*)</label>
											<span class="help-button" data-rel="popover" data-trigger="hover" data-placement="top"
											data-content="Es el título de la nota">?</span>
											<textarea name="name" class="form-control" placeholder="Texto"><?php echo isset($row) ? $row->name : set_value('name'); ?></textarea>
										</div>
									</div>
									<!-- foto -->
									<div class="form-group">
										<div class="col-sm-12">
											<label class="control-label blue">Imagen</label>
											<span class="help-button" data-rel="popover" data-trigger="hover" data-placement="top"
											data-content="Es la foto que se mostrará. Se ajustará automáticamente a un tamaño de 380 de ancho por 304 de alto (píxeles)">?</span>
										</div>
									<?php if(isset($row) && $row->photo) { ?>
										<div class="col-sm-12">
											<p><img src="<?php echo base_url($row->photo); ?>" alt="" /></p>
										</div>
									<?php } ?>
										<div class="col-sm-4">
											<input name="photo" type="file" id="id-input-file-2" />
										</div>
									</div>
									<!-- link -->
									<div class="form-group">
										<div class="col-sm-12">
											<label class="control-label blue">URL Detalle (*)</label>
											<span class="help-button" data-rel="popover" data-trigger="hover" data-placement="top"
											data-content="Es el link de la página donde se verá la nota">?</span>
											<p><input name="url" type="text" class="input-xlarge" value="<?php echo isset($row) ? $row->url : set_value('url'); ?>" placeholder="vimeo.com/79458516" /></p>
										</div>
									</div>
									<!-- publicar -->
									<div class="form-group">
										<div class="col-sm-12">
											<div class="checkbox">
												<label>
													<input name="deleted" type="checkbox" class="ace" <?php if(!isset($row) || (isset($row) && !$row->deleted)) { echo 'checked="checked"'; } ?> value="0">
													<span class="lbl"> Publicar en la web</span>
												</label>
											</div>
										</div>
									</div>
									<!-- enviar -->
									<div class="clearfix form-actions">
										<div class="col-sm-12">
											<button class="btn btn-info" type="submit">
												<i class="icon-ok bigger-110"></i>
												Enviar
											</button>
	
											&nbsp; &nbsp; &nbsp;
											<button class="btn" type="reset">
												<i class="icon-undo bigger-110"></i>
												Restaurar
											</button>
										</div>
									</div>
								</form>
								<!-- PAGE CONTENT ENDS -->
							</div><!-- /.col -->
						</div><!-- /.row -->